package com.wsjzzcbq.ui.info;

import javax.swing.*;
import java.util.Observable;

/**
 * JframePublisher
 *
 * @author wsjz
 * @date 2023/09/11
 */
public class JframePublisher extends Observable {

    public JframePublisher() {
    }

    private JFrame jFrame;

    public JFrame getjFrame() {
        return jFrame;
    }

    public void publish(JFrame jFrame) {
        this.jFrame = jFrame;
        setChanged();
        notifyObservers();
    }

}
